﻿@model ExternalLoginModel
@{
    ViewData["Title"] = "Associate account";
    Layout = "_WindowLayout";
}

<div class="alert alert-info">
    You've successfully authenticated with <strong>@ViewData["LoginProvider"]</strong>.
    Please enter an email address for this site below and click the Register button to finish
    logging in.
</div>

<div asp-validation-summary="All" class="text-danger"></div>
<div class="form-group">
    <label asp-for="Username"></label>
    <input asp-for="Username" class="form-control" />
    <span asp-validation-for="Username" class="text-danger"></span>
</div>
<div class="form-group">
    <label asp-for="Email"></label>
    <input asp-for="Email" class="form-control" />
    <span asp-validation-for="Email" class="text-danger"></span>
</div>

@section Footer {
    <button asp-action="ExternalLoginConfirmation" asp-route-returnurl="@ViewData["ReturnUrl"]" type="submit" class="btn btn-primary">Register</button>
}

@section Scripts {
    <partial name="_ValidationScriptsPartial" />
}
